package com.dongdongshop.service;

import com.dongdongshop.domain.PageResult;
import com.dongdongshop.pojo.TbGoods;
import com.dongdongshop.pojo.TbGoodsDesc;
import com.dongdongshop.pojo.TbItem;


public interface GoodsService {
    void addGoods(TbGoods tbGoods, TbGoodsDesc tbGoodsDesc, TbItem item);

    PageResult<TbGoods> goodsList(TbGoods tbGoods, Integer pageNum, Integer pageSize);

    void isShenhe(Long[] ids, TbGoods tbGoods);

    void deleteById(Long[] ids);

    TbGoods selectByGoodsId(Long goodsId);
}
